﻿namespace ShoppingCart.Models
{
    /// <summary>
    /// 购物车中的商品
    /// </summary>
    public class CartItem
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public int? ProductId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }
    }
}
